Visualizing Roles of Variables to Novice Programmers

نویسنده

  • Jorma Sajaniemi
چکیده

Many students learning to write computer programs encounter considerable difficulties. For novices, one of the key problems is in understanding how the very basic programming constructs work. In this paper, we concentrate on visualizing the role of a variable, i.e., the dynamic character of a variable embodied by the sequence of its successive values as related to other variables. We present a classification of roles and introduce an animation system, PlanAni, that uses this approach.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Roles of Variables From the Perspective of Computer Science Educators

Roles can be assigned to occurrences of variables in programs according to a small number of patterns of use that are both languageand algorithm-independent. The concept of roles of variables is almost certainly part of the tacit knowledge of expert programmers, and we believe that explicitly teaching roles of variables to novice students can be an excellent pedagogical tool for clarifying the ...

متن کامل

Poster Proposal for SIGCSE 2016 Proposers:

The concept of memory management in C programming language is particularly challenging for novice programmers. Consequently, many researchers have proposed program visualization tools to alleviate these difficulties: for example, SeeC is one of the state-of-the-art tools for visualizing the behavior and execution status of C programs. However, three problems (P1–3) remain in SeeC, as well as in...

متن کامل

The Roles Beacons Play in Comprehension for Novice and Expert Programmers

In this research, progressively refined methods of investigating Beacon-like features (the surface features of computer programs that serve as keys to facilitate program comprehension) were used to determine how programmers from different experience levels understand a typical simple program. In this study, we found Beacons for novice programmers are different than they are for more experienced...

متن کامل

Roles of Variables in Experts’ Programming Knowledge

Roles of variables capture the dynamic nature of variables, i.e., their behavior. Only ten roles are needed to cover 99 % of variables in novice-level procedural programs. Roles were originally identified by studying variables in existing programs and creating a classification for them. In order to find out whether roles are a part of experts’ programming knowledge, we conducted a knowledge eli...

متن کامل

Visualizing roles of variables in program animation

Visualizations may be used to assist in learning elementary computer programming— a skill that is hard to acquire by many students. This article presents a program animation system, PlanAni, that is based on the concept of the roles of variables. Roles represent schematic uses of variables that occur in programs over and over again, and a set of nine roles covers practically all variables in no...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002